package com.zf.shuashua.bean.comment;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class CommentEntity implements MultiItemEntity {

    public String id;
    public int user_id;
    public int video_id;
    public String content;
    public int praise_count;
    public int status;
    public String created_at;
    public String updated_at;
    public boolean is_praise_user;
    public boolean is_comment_user;
    public String created_time;
    public int reply_count;
    public int praise_count_text;
    public UserEntity user;
    public UserEntity to_user;
    public CommentEntity reply_first;
    public List<CommentEntity> replys;

    // 辅助字段
    public int itemType = 0;
    public boolean isLevel2ReplyHelper;
    public int currentPageHelper = 1;
    // 一级评论ID
    public String parentIdHelper = "";

    @Override
    public int getItemType() {
        return itemType;
    }
}
